using System;
using Commons.Models.Stats;


namespace Commons.Daos.Stats
{
	public class CacheUserStatsDao : IUserStatsDao
	{
		protected UserStats userStats;

		#region IUserStatsDao implementation

		public UserStats Get ()
		{
			return userStats;
		}

		public void Insert (UserStats stats)
		{
			userStats = stats;
		}

		public void Update (UserStats stats)
		{
			userStats = stats;
		}

		public void Delete ()
		{
			userStats = null;
		}

		#endregion

		public CacheUserStatsDao ()
		{
		}
	}
}

